package com.nidu.demo.common.constants;

public interface RequestHeaderConstants {

    String REQUEST_ATTRIBUTE_LOGIN_USER_ID = "login-user-id";

    String REQUEST_ATTRIBUTE_LOGIN_USER_TYPE = "login-user-type";

    String HEADER_TENANT_ID = "tenant-id";

    String HEADER_TERMINAL = "terminal";

    String USER_AGENT = "User-Agent";

    String AUTHORIZATION_BEARER = "Bearer";

    String AUTHORIZATION_BASIC = "Basic";

    /**
     * LoginUser context中存储数据权限范围的key
     */
    String CONTEXT_DATA_SCOPE = "data-scope";

    /**
     * LoginUser context中存储可访问部门ID集合的key
     */
    String CONTEXT_DEPT_IDS = "dept-ids";

}
